package com.etc.dao;

import java.util.List;

import com.etc.entity.Patient;

public interface PatientMapper {
    int deleteByPrimaryKey(Integer patientid);

    int insert(Patient patient);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(String  patientel);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);
    
    List<Patient> selectPatient();
    /**
     * 医生查询病人详情
     * @param patientTel
     * @return
     */
    Patient selByTel(String patientTel);
}